
public class FiveQi{
	
	public static void main(String[] args){
		char[] rh = {' ','0','1','2','4','5','6','7','8','9','a','b','c','d','e','f'};

		for(int i=0;i<rh.length;i++){
			
			for(int j=0;j<rh.length;j++){
				if(i==0){
					System.out.print(rh[j]+" ");
				}else if(j==0){
					System.out.print(rh[i]+" ");
				}else{
					System.out.print("+"+" ");
				}
			}
			System.out.println();
		}
	}
} 